<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>index.html</h1>
<a th:href="@{/hello}">测试：SpringMVC</a>
<br>
<a th:href="@{/test/param0(password)}">test: params0</a>
<br>
<a th:href="@{/test/param(username='admin',password=123321)}">test: params</a>
<br>
<a th:href="@{/test/hello}">RequestMapping标识一个类</a>
<br>
<a th:href="@{/test/val/hello}">@RequestMapping注解的value属性</a>
<br>
<a href="/hello">测试：绝对路径</a>
<br>
<a th:href="@{/test/ant/ant/ant}">测试：Ant</a>
<br>
<a th:href="@{/test/rest/1/cmy}">测试：rest</a>

<hr>
<form th:action="@{/param/head}" method="post">
    用户名：<input type="text" name="Username"><br>
    密码：<input type="text" name="passWord"><br>
    <input type="submit" value="登录"><br>
</form>
<hr>
<form th:action="@{/param/pojo}" method="post">
    用户名：<input type="text" name="username"><br>
    密码：<input type="text" name="password"><br>
    性别：<input type="radio" name="gender" value="男">男<input type="radio" name="gender" value="女">女<br>
    年龄：<input type="text" name="age"><br>
    邮箱：<input type="text" name="email"><br>
    <input type="submit" value="提交">
</form>

</body>
</html>